package cn.com.lms.business.exam.service;

import cn.com.lms.business.exam.persistence.entity.EmployeeExerciseSubject;
import cn.com.lms.business.exam.persistence.repository.EmployeeExerciseSubjectRepository;

import com.bnzj.core.persistence.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class EmployeeExerciseSubjectService  extends BaseService<EmployeeExerciseSubjectRepository, EmployeeExerciseSubject,Long> {

    public List<Map<String,Object>> findEmployeeExerciseSubjectByExerciseId(Long exerciseId, Long employeeId){
      return    repository.selectEmployeeExerciseSubjectByExerciseId(exerciseId,employeeId);
    }

}
